/* 
 * SearchDao.java 19.04.2011
 *  
 *  
 * Candidate: Alessandra Otterbach
 * Prometric ID: Algisina1
 * Username: Algisina
 *  
 * Sun Certified Developer for Java 2 Platform, Standard Edition Programming 
 * Assignment (CX-310-252A)
 *  
 * This class is part of the Programming Assignment of the Sun Certified 
 * Developer for Java 2 Platform, Standard Edition certification program, must 
 * not be used out of this context and must be used exclusively by Sun 
 * Microsystems, Inc. 
 */
package suncertify.dao;

/**
 * Data container for the name of a criteria and its value
 * 
 * @author Alessandra Otterbach
 * 
 */
public class SearchCriteria {

    private EnumSearchCriteria criteriaName;
    private String criteriaValue;

    public SearchCriteria() {
    }

    public SearchCriteria(EnumSearchCriteria criteriaName, String criteriaValue) {
	this.criteriaName = criteriaName;
	this.criteriaValue = criteriaValue;
    }

    public EnumSearchCriteria getCriteriaName() {
	return criteriaName;
    }

    public void setCriteriaName(EnumSearchCriteria criteriaName) {
	this.criteriaName = criteriaName;
    }

    public String getCriteriaValue() {
	return criteriaValue;
    }

    public void setCriteriaValue(String criteriaValue) {
	this.criteriaValue = criteriaValue;
    }

}
